import request from '@/utils/request'

// 获取单位数据
export function getProcessList(data) {
  return request({
    url: '/vue-element-admin/process/list',
    method: 'post',
    data
  })
}
// 获取单个流程数据
export function getSingleData(data) {
  return request({
    url: '/vue-element-admin/process/getData',
    method: 'post',
    data
  })
}
// 编辑
export function editProcessData(data) {
  return request({
    url: '/vue-element-admin/process/editData',
    method: 'post',
    data
  })
}
// 新增 流程
export function addProcessData(data) {
  return request({
    url: '/vue-element-admin/process/addData',
    method: 'post',
    data
  })
}
